package com.syys.privacy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.syys.common.annotation.Excel;
import com.syys.common.core.domain.BaseEntity;

/**
 * 问题答案对象 qa_answer
 *
 * @author ys
 * @date 2021-07-15
 */
public class QaAnswer extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long answerId;

    /**
     * 字段名称
     */
    @Excel(name = "字段名称")
    private String filed;

    /**
     * 代码对应值
     */
    @Excel(name = "代码对应值")
    private Integer code;

    /**
     * 问题对应值
     */
    @Excel(name = "问题对应值")
    private String value;

    public void setAnswerId(Long answerId) {
        this.answerId = answerId;
    }

    public Long getAnswerId() {
        return answerId;
    }

    public void setFiled(String filed) {
        this.filed = filed;
    }

    public String getFiled() {
        return filed;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("answerId", getAnswerId())
                .append("filed", getFiled())
                .append("code", getCode())
                .append("value", getValue())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
